package com.ross.mode;

/**
 * @version 1.0.0
 * @className: com.ross.mode.User
 * @description: 这是一个程序猿类
 * @author: zhangjunfa
 * @date: 2023/8/29 9:10
 */
public class User {
    private Long id;
    private String name;
    private String work;

    public User(Long id, String name, String work) {
        this.id = id;
        this.name = name;
        this.work = work;
    }

    public User() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    @Override
    public String toString() {
        return "com.ross.mode.User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", work='" + work + '\'' +
                '}';
    }
}
